package com.xjrsoft.module.workflow.mapper;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjrsoft.module.workflow.entity.XjrNwfSchemeinfo;
import com.xjrsoft.module.workflow.vo.NwfSchemeInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:湘北智造-框架开发组
 * @Date:2020/10/20
 * @Description:流程设计信息mapper
 */
public interface NwfSchemeInfoMapper extends BaseMapper<XjrNwfSchemeinfo> {

    /**
     * @Author:湘北智造-框架开发组
     * @Date:2020/10/20
     * @Param:[iPage, xjrNwfSchemeinfo]
     * @return:
     * @Description:自定义分页
     */
    Page<NwfSchemeInfoVo> selectNwfSchemeInfoPage(Page page, @Param("fName") String fName,@Param("fIsInApp") String fIsInApp,@Param("fCategory") String fCategory,@Param("nwfSchemeInfoIds") JSONArray nwfSchemeInfoIds,@Param("mark") String mark);

    NwfSchemeInfoVo selectNwfSchemeInByIds(@Param("ids") List<String> ids);


}
